package com.sgb.zhaocai.view.demand.adapter;

import android.content.Context;

import com.amap.api.services.core.PoiItem;
import com.sgb.zhaocai.BR;
import com.sgb.zhaocai.R;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class ZhaoCaiMapSearchAdapter extends BaseRecycleAdapter<PoiItem> {

    public ZhaoCaiMapSearchAdapter(Context context, List<PoiItem> datas) {
        super(context, R.layout.item_zc_map_search, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final PoiItem entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
